package 字节流.字节流读写文件;

import java.io.FileInputStream;
import java.io.IOException;

public class Example01 {
    public static void main(String[] args) throws IOException {
        FileInputStream in=new FileInputStream("src/IO流/字节流/字节流读写文件/test001.txt");
        int b=0;
        while((b=in.read())!=-1){
            //输出0-255的数字，表示读取源的字节大小
            System.out.println(b);
        }
        //关闭流
        in.close();
    }
}
